package net.trustie.dao;

import net.trustie.model.apache_Model;

import org.apache.ibatis.annotations.Insert;

public interface ApacheProject_Dao {
	
//	
//	@Insert("insert into apache"
//			+ "(`url`,`name`,`description`,`download_url`,`language`,`category`,`license`,"
//			+ "`extractTime`,`registered_time`,`last_update_time`,`history`)"
//			
//		
//			
//			+"values (#{project_url},#{project_name},#{project_descriprion},#{download_url},#{languege},#{categories},#{license},"
//			+" #{extractTime},#{project_created_time},#{project_updated_time},#{history})")
//	

	@Insert("insert into apache"
			+ "(`created_time`,`issue_link`,`mailing_link`,`source`,`url_md5`,`url`,`name`,`description`,`download_link`,`language`,`license`,"
			+ "`extracted_time`)"
			+"values (#{project_created_time},#{issue_link},#{mailing_link},#{source},#{urlMd5},#{project_url},#{project_name},#{project_descriprion},#{download_url},#{languege},#{license},"
			+" #{extractTime})")
	
		
	public int add(apache_Model apacheModel);
	

}
